package ManHinhChinh;

import org.eclipse.swt.widgets.Display;
import org.eclipse.swt.widgets.Shell;
import org.eclipse.swt.widgets.Button;
import org.eclipse.swt.SWT;
import org.eclipse.wb.swt.SWTResourceManager;
import org.eclipse.swt.widgets.Composite;
import org.eclipse.swt.widgets.Label;
import org.eclipse.swt.widgets.Text;
import org.eclipse.swt.widgets.Combo;
import org.eclipse.swt.widgets.DateTime;
import org.eclipse.swt.widgets.Table;

public class XuatHang {

	protected Shell XuatHang;
	private Text text;
	private Text text_1;
	private Text text_2;
	private Text text_3;
	private Text text_4;
	private Text text_5;
	private Text text_6;
	private Table table;

	

	/**
	 * Open the window.
	 */
	public void open() {
		Display display = Display.getDefault();
		createContents();
		XuatHang.open();
		XuatHang.layout();
		while (!XuatHang.isDisposed()) {
			if (!display.readAndDispatch()) {
				display.sleep();
			}
		}
	}

	/**
	 * Create contents of the window.
	 * @wbp.parser.entryPoint
	 */
	protected void createContents() {
		XuatHang = new Shell();
		XuatHang.setSize(729, 540);
		XuatHang.setText("Xu\u1EA5t H\u00E0ng");
		
		Button btn_XH_Them = new Button(XuatHang, SWT.NONE);
		btn_XH_Them.setText("Th\u00EAm");
		btn_XH_Them.setImage(SWTResourceManager.getImage("..\\_QuanLyBanHang\\image\\ADD.ICO"));
		btn_XH_Them.setBounds(10, 466, 75, 25);
		
		Button btn_XH_Sua = new Button(XuatHang, SWT.NONE);
		btn_XH_Sua.setText("S\u1EEDa");
		btn_XH_Sua.setImage(SWTResourceManager.getImage("..\\_QuanLyBanHang\\image\\undo.ico"));
		btn_XH_Sua.setBounds(118, 466, 75, 25);
		
		Button btn_XH_Xoa = new Button(XuatHang, SWT.NONE);
		btn_XH_Xoa.setText("X\u00F3a");
		btn_XH_Xoa.setImage(SWTResourceManager.getImage("..\\_QuanLyBanHang\\image\\X\u00F3a.png"));
		btn_XH_Xoa.setBounds(224, 466, 75, 25);
		
		Button btn_XH_ghi = new Button(XuatHang, SWT.NONE);
		btn_XH_ghi.setText("Ghi");
		btn_XH_ghi.setImage(SWTResourceManager.getImage("..\\_QuanLyBanHang\\image\\Save.ico"));
		btn_XH_ghi.setBounds(324, 466, 75, 25);
		
		Button btn_XH_Hoan = new Button(XuatHang, SWT.NONE);
		btn_XH_Hoan.setText("Ho\u00E3n");
		btn_XH_Hoan.setImage(SWTResourceManager.getImage("..\\_QuanLyBanHang\\image\\cancel_16.ico"));
		btn_XH_Hoan.setBounds(424, 466, 75, 25);
		
		Button btn_XH_in = new Button(XuatHang, SWT.NONE);
		btn_XH_in.setText("In H\u00F3a \u0110\u01A1n");
		btn_XH_in.setImage(SWTResourceManager.getImage("..\\_QuanLyBanHang\\image\\in.jpg"));
		btn_XH_in.setBounds(518, 466, 95, 25);
		
		Button btn_XH_thoat = new Button(XuatHang, SWT.NONE);
		btn_XH_thoat.setText("Tho\u00E1t");
		btn_XH_thoat.setImage(SWTResourceManager.getImage("..\\_QuanLyBanHang\\image\\exit.ico"));
		btn_XH_thoat.setBounds(628, 466, 75, 25);
		
		Composite composite = new Composite(XuatHang, SWT.NONE);
		composite.setBounds(10, 10, 693, 154);
		
		Label lblNewLabel = new Label(composite, SWT.NONE);
		lblNewLabel.setFont(SWTResourceManager.getFont("Times New Roman", 12, SWT.NORMAL));
		lblNewLabel.setBounds(37, 21, 89, 26);
		lblNewLabel.setText("M\u00E3 H\u00F3a \u0110\u01A1n");
		
		Label lblNhnVin = new Label(composite, SWT.NONE);
		lblNhnVin.setFont(SWTResourceManager.getFont("Times New Roman", 12, SWT.NORMAL));
		lblNhnVin.setText("Nh\u00E2n Vi\u00EAn");
		lblNhnVin.setBounds(37, 68, 89, 26);
		
		Label lblNgyXut = new Label(composite, SWT.NONE);
		lblNgyXut.setFont(SWTResourceManager.getFont("Times New Roman", 12, SWT.NORMAL));
		lblNgyXut.setText("Ng\u00E0y Xu\u1EA5t");
		lblNgyXut.setBounds(364, 21, 78, 26);
		
		Label lblGhiCh = new Label(composite, SWT.NONE);
		lblGhiCh.setFont(SWTResourceManager.getFont("Times New Roman", 12, SWT.NORMAL));
		lblGhiCh.setText("Ghi Ch\u00FA");
		lblGhiCh.setBounds(364, 68, 78, 23);
		
		text = new Text(composite, SWT.BORDER);
		text.setBounds(147, 21, 177, 21);
		
		text_1 = new Text(composite, SWT.BORDER);
		text_1.setBounds(466, 68, 177, 21);
		
		Combo combo = new Combo(composite, SWT.NONE);
		combo.setBounds(147, 68, 177, 23);
		
		DateTime dateTime = new DateTime(composite, SWT.BORDER);
		dateTime.setBounds(466, 21, 113, 24);
		
		Button btnNewButton = new Button(composite, SWT.NONE);
		btnNewButton.setImage(SWTResourceManager.getImage("..\\_QuanLyBanHang\\image\\text.ico"));
		btnNewButton.setFont(SWTResourceManager.getFont("Times New Roman", 13, SWT.NORMAL));
		btnNewButton.setBounds(292, 111, 120, 34);
		btnNewButton.setText("Xu\u1EA5t H\u00E0ng");
		
		Composite composite_1 = new Composite(XuatHang, SWT.NONE);
		composite_1.setBounds(10, 181, 693, 141);
		
		Label lblNewLabel_1 = new Label(composite_1, SWT.NONE);
		lblNewLabel_1.setFont(SWTResourceManager.getFont("Times New Roman", 12, SWT.NORMAL));
		lblNewLabel_1.setBounds(35, 22, 80, 19);
		lblNewLabel_1.setText("M\u1EB7t H\u00E0ng");
		
		Label lblSLng = new Label(composite_1, SWT.NONE);
		lblSLng.setFont(SWTResourceManager.getFont("Times New Roman", 12, SWT.NORMAL));
		lblSLng.setText("S\u1ED1 L\u01B0\u1EE3ng");
		lblSLng.setBounds(35, 66, 80, 19);
		
		Label lblnGi = new Label(composite_1, SWT.NONE);
		lblnGi.setFont(SWTResourceManager.getFont("Times New Roman", 12, SWT.NORMAL));
		lblnGi.setText("\u0110\u01A1n Gi\u00E1");
		lblnGi.setBounds(35, 109, 65, 22);
		
		Label lblnVTnh = new Label(composite_1, SWT.NONE);
		lblnVTnh.setFont(SWTResourceManager.getFont("Times New Roman", 12, SWT.NORMAL));
		lblnVTnh.setText("\u0110\u01A1n V\u1ECB T\u00EDnh");
		lblnVTnh.setBounds(366, 22, 74, 19);
		
		Label lblThu = new Label(composite_1, SWT.NONE);
		lblThu.setFont(SWTResourceManager.getFont("Times New Roman", 12, SWT.NORMAL));
		lblThu.setText("Thu\u1EBF");
		lblThu.setBounds(366, 66, 74, 19);
		
		Label lblTngTin = new Label(composite_1, SWT.NONE);
		lblTngTin.setFont(SWTResourceManager.getFont("Times New Roman", 12, SWT.NORMAL));
		lblTngTin.setText("T\u1ED5ng Ti\u1EC1n");
		lblTngTin.setBounds(366, 109, 74, 22);
		
		Combo combo_1 = new Combo(composite_1, SWT.NONE);
		combo_1.setBounds(147, 18, 173, 23);
		
		text_2 = new Text(composite_1, SWT.BORDER);
		text_2.setBounds(147, 66, 173, 21);
		
		text_3 = new Text(composite_1, SWT.BORDER);
		text_3.setBounds(147, 109, 173, 21);
		
		text_4 = new Text(composite_1, SWT.BORDER);
		text_4.setBounds(466, 22, 173, 21);
		
		text_5 = new Text(composite_1, SWT.BORDER);
		text_5.setBounds(466, 66, 173, 21);
		
		text_6 = new Text(composite_1, SWT.BORDER);
		text_6.setBounds(466, 109, 173, 21);
		
		table = new Table(XuatHang, SWT.BORDER | SWT.FULL_SELECTION);
		table.setBounds(10, 328, 693, 120);
		table.setHeaderVisible(true);
		table.setLinesVisible(true);

	}

}
